[Linux command] How to move a directory

Posted by Qooe on Stack Overflow See other posts from Stack Overflow or by Qooe
Published on 2009-05-15T11:40:52Z Indexed on 2010/06/13 23:42 UTC
Read the original article Hit count: 154

Filed under:
|
|

Hi. my old and new directory have same folders and files inside.

I try "mv -if old/* new/"

and get error

mv: cannot move `./xxxxxx' to a subdirectory of itself

How can I move it ? (Centos 5) thanks.

© Stack Overflow or respective owner

Related posts about linux

Related posts about command-line